package com.apexedu.eas.constants;

/**
 * 定义所有跳转Action名称及定义所有跳转到的jsp页面
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-10-17
 * Time: 下午10:47
 * To change this template use File | Settings | File Templates.
 */
public interface ActionConstant {
	/*
	 * 变量名称简称
	 */
	String Variable_Id = "id"; //id
	String Variable_Userid = "userid"; //用户id

    String Variable_Kslb = "kslb";//考试类别
    String Variable_Kblb = "kblb";//课表类别
    String Variable_Type = "type";//正常考试，补考考试
    String Variable_pagenum = "pagenum";//正常考试，补考考试
    String Variable_num = "num";//正常考试，补考考试

	String Forward_Util_Iframe = "util/iframe"; //默认跳转界面

	/**
	 * 公用
	 */
	interface COMMON {
		/**
		 * autoComplete
		 */
		String RequestMapping_init = "/auto/j/{key}"; //autoComplete

		String Variable_key = "key"; //autoComplete类型
	}

    interface UTIL {
        String RequestMapping_download = "/util/download";//下载文件
    }

    /**
     * 校历
     */
    interface XL {

        String RequestMapping_init = "/xl/i/{xq}";//校历处理

        String RequestMapping_list = "/xl/l";

        String Variable_xq = "xq"; //学期

        String Forward_xl = "xl/list";//校历页面
    }



    /**
	 * 教学计划模块
	 */
	interface JH {
		//请求uri
		String RequestMapping_initPyjh = "/jh/ip/{userid}"; //培养计划初始界面
		String RequestMapping_getKc = "/jh/kc"; //获取课程列表
		String getRequestMapping_getJxjh = "jh/jx/{xz}"; //获取教学计划
		String RequestMapping_saveOrUpdateKcapBySTA = "/jh/sap"; //保存培养计划课程安排
		String RequestMapping_saveKcszBySTA = "/jh/ssz"; //保存培养计划课程设置
		String RequestMapping_deleteKcApSzBySTA = "/jh/d/{kc}/{pyjhid}"; //删除 培养计划课程设置 培养计划课程安排
		String RequestMapping_exportJxjhBySTA = "/jh/exp/{userid}/{pyjhid}"; //导出教学计划模版
        String RequestMapping_JxjhInit = "/jh/jxinit/{userid}";//导入教学计划模版的页面
		String RequestMapping_importJxjhBySTA = "/jh/imp/{userid}"; //导入教学计划模版

        String getRequestMapping_initZap = "/zap/i"; //周安排初始界面
        String getRequestMapping_addZapMx = "/zap/addmx/{zapid}"; //新增周安排明细
        String getRequestMapping_delZapMx = "/zap/delmx/{zapmxid}"; //删除周安排明细
        String getRequestMapping_saveZapMx = "/zap/savemx";//保存周安排明细

		String RequestMapping_init = "/jh/i/{userid}"; //执行计划周安排初始界面
		String RequestMapping_getZy = "/jh/zy/{zzjg}"; //获取院系的相关专业
		String RequestMapping_getXn = "/jh/xn/{nj}"; //获取年级的正确学年
		String RequestMapping_getXq = "/jh/xq/{xn}"; //获取学年的正确学期
		String RequestMapping_listZCAP = "/jh/zc/{zy}/{nj}/{xn}/{xq}"; //获取周次安排列表
		String RequestMapping_updateEach = "/jh/u/{pyjhhjsz}/{zc}/{fh}"; //保存单条周次安排
		String RequestMapping_updateZCAP = "/jh/sm/{pyjhhjsz}"; //提交开课计划

		//请求参数
		String Variable_zzjg = "zzjg";//组织机构（院系）
		String Variable_zy = "zy";//专业
		String Variable_nj = "nj";//年级
		String Variable_xn = "xn";//学年
		String Variable_xq = "xq";//学期
		String Variable_pyjhhjsz = "pyjhhjsz";//培养计划环节设置
		String Variable_zc = "zc";//周次
		String Variable_fh = "fh";//符号id
        String variable_xz = "xz";//学制

		String Variable_kc = "kc";//课程id
		String Variable_pyjhid = "pyjhid";//培养计划id
        String Variable_zapid = "zapid";//周安排id
        String Variable_zapmxid = "zapmxid";//周安排id

		//响应uri
		String Forward_initPyjh = "jh/pyjh"; //培养计划初始界面
        String Forward_pyjh_imp = "jh/pyjh_imp";//导入教学计划模版页面
		String Forward_init = "jh/zxjh"; //执行计划周次安排页面

        String Forward_initZap = "jh/zap"; //执行计划周次安排页面
	}

	/**
	 * 教学班管理模块
	 */
	interface JXB {
		String RequestMapping_init = "/jxb/i"; //教学班列表界面
		String RequestMapping_updateJxbBySTA = "/jxb/s/{type}"; //教学班列表界面修改教师/教材
		String RequestMapping_edit = "/jxb/e/{id}/{ctype}"; //教学班操作(编辑 合班 分班 混班)界面
		String RequestMapping_executeHbBySTA = "/jxb/u/{ctype}"; //执行合班 分班 混班

		String Variable_ctype = "ctype"; //类型 1为合班 2为分子教学班 3为合班
		String Variable_type = "type"; //类型 1为教师 2为教材


		String Forward_init = "jxb/list"; //教学班列表界面
		String Forward_edit = "jxb/edit"; //教学班合班/分班/混班界面
	}

	/**
	 * 排课管理模块
	 */
	interface PK {
		String RequestMapping_init = "/pk/i/{userid}"; //排课列表界面
		String RequestMapping_savePKxxBySTA = "/pk/s"; //保存或更新排课信息
		String RequestMapping_removePkmxBySTA = "/pk/d/{id}"; //删除排课信息
		String RequestMapping_refreshBySTA = "/pk/re/{xq}"; //刷新排课信息
		String RequestMapping_doCheckCtBySTA = "/pk/c/{xq}"; //检测排课信息冲突
		String RequestMapping_doClearBySTA = "/pk/cls/{xq}"; //清空
		String RequestMapping_submitBySTA = "/pk/su"; //提交排课信息
		String RequestMapping_revokeBySTA = "/pk/b"; //撤销排课信息

        String RequestMapping_fhJXB = "/pk/fhjxb/{userid}"; //分合教学班

        String RequestMapping_Jxbfh = "/pk/jxbfh/{userid}"; //教学班分合

        String RequestMapping_jxbfh_list = "/pk/jxbfh"; //教学班分合List

        String RequestMapping_jxbfh_op = "/pk/jxbfh_op";//教学班合班操作界面

        String RequestMapping_ggkpk = "/pk/ggkpk"; //公共基础课排课页面
        String RequestMapping_rkjs = "/pk/rkjs"; //任课教师
        String RequestMapping_get_rkjs_kslxq = "/pk/get_rkjs_kslxq"; //获取任课教师课时量详情
        String RequestMapping_jc_rkjs = "/pk/jc_rkjs"; //检测任课教师是否冲突
        String RequestMapping_jxcd = "/pk/jxcd"; //教学场地
        String RequestMapping_bj = "/pk/bj"; //班级
        String RequestMapping_pkgz = "/pk/pkgz"; //排课规则信息
		String RequestMapping_ajax_checkIsCanDoCoursePlan = "/pk/checkIsCanDoCoursePlan"; //排课规则信息


		String Variable_xq = "xq"; //学期

		String Forward_init = "pk/list_gh"; //排课列表界面
		String Forward_init_u1 = "pk/list_gh_u1"; //排课列表界面
		String Forward_init_u2 = "pk/list_gh_u2"; //排课列表界面
		String Forward_init_u3 = "pk/list_gh_u3"; //排课列表界面
		String Forward_init_u4 = "pk/list_gh_u4"; //排课列表界面
		String Forward_init_u5 = "pk/list_gh_u5"; //排课列表界面
		String Forward_init_u6 = "pk/list_gh_u6"; //排课列表界面
		String Forward_init_u7 = "pk/list_gh_u7"; //排课列表界面
		String Forward_init_u8 = "pk/list_cg_u8"; //排课列表界面
		String Forward_init_u9 = "pk/list_gh_u9"; //排课列表界面
		String Forward_init_u10 = "pk/list_gh_u10"; //排课列表界面
		String Forward_init_u11 = "pk/list_gh_u11"; //排课列表界面


        String Forward_init_fhjxb = "pk/fhjxb_list";//分合教学班页面

        String Forward_init_jxbfh = "pk/jxbfh_list";//分合教学班页面

        String Forward_init_jxbfh_xx = "pk/jxbfh_xx";//分合教学班页面

        String Forward_init_ggkpk = "pk/ggkpk_list";

	}

	/**
	 * 课程表
	 */
	interface KB {
		String RequestMapping_initZkb = "/kb/iz/{userid}/{zc}/{type}"; //周课表
		String RequestMapping_getZkcxx = "/kb/zk/{userid}/{zc}/{type}"; //获取周课表课程信息列表
		String RequestMapping_initKb = "/kb/i/{userid}/{type}/{kcid}"; //学期课表
		String RequestMapping_getKcxx = "/kb/k/{userid}/{type}/{xq}"; //获取学期课表课程信息列表
		String RequestMapping_initKcb= "/kb/init/{kblb}";
		String RequestMapping_getData= "/kb/get";
        String RequestMapping_ajaxUploadTimetableDataAndCreateExcelFile = "/kb/ajaxUploadTimetableDataAndCreateExcelFile";//上传课表并生成excel
		String RequestMapping_getData_selectChangeUpdate= "/kb/get_selectChangeUpdate";

		String Variable_zc = "zc"; //周次
		String Variable_type = "type"; //类型 ls为教师 xs为学生 js为教室使用情况 xk为选课
		String Variable_kcid = "kcid"; //课程id

        String Variable_xq = "xq"; //学期

		String Forward_zkb = "kb/zkb"; //周课表界面
		String Forward_kcb = "kb/kcb"; //周课表界面

		String Forward_kcb_gh = "kb/kcb_gh";
		String Forward_kcb_gh_xzb = "kb/kcb_gh_xzb";
		String Forward_kcb_gh_ls = "kb/kcb_gh_ls";
		String Forward_kcb_gh_js = "kb/kcb_gh_js";
		String Forward_kcb_gh_xs = "kb/kcb_gh_xs";
		String Forward_kcb_gh_jxb = "kb/kcb_gh_jxb";
	}

	/**
	 * 选课管理模块
	 */
	interface XK {
		//公选请求uri
		String GxRequestMapping_init = "/xk/ggxxk/{userid}"; //选课初始
		String GxRequestMapping_saveXk = "/xkyx/save"; //保存选课
		String GxRequestMapping_deleteXk = "/xkyx/delete"; //退选
		String GxRequestMapping_saveXkzs = "/xk/save"; //确认选课
		String GxRequestMapping_deleteXkzs = "/xk/delete"; //退选
		
		//板块请求uri
		String BkRequestMapping_init = "/xk/tyxxk/{userid}"; //选课初始
		String BkRequestMapping_saveXk = "/xk/tyxxk/save"; //保存选课
		String BkRequestMapping_deleteXk = "/xk/tyxxk/delete"; //退选
		
		//模块请求uri
		String MkRequestMapping_init = "/xk/mkxxk/{userid}"; //选课初始
		String MkRequestMapping_saveXk = "/xk/mkxxk/save"; //保存选课
		String MkRequestMapping_deleteXk = "/xk/mkxxk/delete"; //退选

		//请求参数
		String Variable_jxbId = "jxbid";//教学班id

		//响应uri
		String GxForward_init = "xk/yxlist";
		String GxForward_init2 = "xk/xklist";
		String BkForward_init = "xk/tyxklist";
		String MkForward_init = "xk/mkxklist";

	}

	/**
	 * 考试管理模块
	 */
	interface KS {
		//请求uri
		String RequestMapping_init = "/ks/l"; //考试模块初始

		String RequestMapping_save = "/ks/s"; //保存或更新排课明细
		String RequestMapping_delete = "/ks/d";//删除考场信息
		String RequestMapping_refresh = "/ks/re";//刷新排考信息
		String RequestMapping_submit = "/ks/sp";//提交排考信息
		String RequestMapping_check = "/ks/c";//检测考试冲突信息

        String RequestMapping_init_pk = "/ks/pk_l/{type}"; //排考页面初始化请求url
        String RequestMapping_xq_ksfa = "/ks/xq_u"; //排考页面初始化请求url
        String RequestMapping_ksrq_u = "/ks/ksrq_u"; //考试日期的联动变化
        String RequestMapping_hbksjxb = "/ks/hbksjxb"; //合并考试教学班
        String RequestMapping_cxhbksjxb = "/ks/cxhbksjxb"; //撤销考试教学班

        String RequestMapping_ksjxb = "/ks/ksjxb"; //排考页面初始化请求url
        String RequestMapping_kscd = "/ks/kscd"; //考试场地请求url
        String RequestMapping_jkjs = "/ks/jkjs"; //考试场地请求url
        String RequestMapping_save_pkmx = "/ks/save"; //考试场地请求url
        String RequestMapping_delete_pkmx = "/ks/delete"; //考试场地请求url
        String RequestMapping_ctjc = "/ks/ctjc"; //考试场地请求url
        String RequestMapping_tjorcxtj = "/ks/tjorcxtj"; //考试场地请求url
        String getRequestMapping_jkjs_jkqk = "/ks/jkjs_jkqk/{userid}"; //监考教师监考情况请求url ,这里的userid就是jkjsid
		//请求参数

		//响应uri
		String Forward_init = "ks/list";//考试页面
        String Forward_init_pk = "ks/pk_list";//排考页面
        String Forward_init_bkpk = "ks/bkpk_list";//排考页面
	}

    /**
     * Test
     */

    interface TEST{
        String RequestMapping_init = "/test/i";
        String RequestMapping_fy = "/test/fy/{pagenum}/{num}";
    }


	/**
	 * 成绩管理模块
	 */
	interface CJ {
		//请求uri
		String RequestMapping_init = "/cj/i/{userid}"; //成绩页面初始化
		String RequestMapping_updateZb = "/cj/uz"; //更新平时成绩占比
		String RequestMapping_listXs = "/cj/l/{id}"; //学生成绩列表
		String RequestMapping_updateCj = "/cj/u"; //更新学生成绩
		String RequestMapping_submit = "/cj/s/{id}"; //提交
		String RequestMapping_returnBatch = "/cj/rb"; //批量退回
		String RequestMapping_ListCj = "/cj/zp_cj"; //成绩录入进入页面
/*		String RequestMapping_updateCjxx = "/cj/u"; //更新学生成绩
*/
		//响应uri
		String Forward_list = "cj/list";
		String Forward_listXs = "cj/listXs";

	}

	/**
	 * 学生考勤模块
	 */
	interface KQ {
		String RequestMapping_init = "/kq/i/{userid}"; //学生考勤初始界面
		String RequestMapping_getKqjcBySTA = "/kq/jc/{rq}"; //获取考勤节次
		String RequestMapping_getKqxsBySTA = "/kq/xs/{kqks}"; //获取考勤学生
		String RequestMapping_updateKqxsBySTA = "/kq/u/{id}/{cqzt}"; //更新学生考勤状态
		String RequestMapping_submitKqxsBySTA = "/kq/s/{kqks}"; //提交学生考勤状态

		String Variable_rq = "rq"; //考勤日期
		String Variable_kqks = "kqks"; //考勤课时
		String Variable_cqzt = "cqzt"; //出勤状态

		String Forward_init = "kq/xskq"; //学生考勤初始界面
	}

	/**
	 * 考核管理模块
	 */
	interface KH {
		//请求uri
		String RequestMapping_init = "/kh/i/{userid}";//考核初始页面
		String RequestMapping_updateEach = "/kh/u";//更新一条评价
		String RequestMapping_updateAll = "/kh/a";//更新所有的评价

		//请求参数

		//响应uri
		String Forward_init = "kh/list";
	}

	/**
	 * 问卷调查模块
	 */
	interface WJ {
		//请求uri
		String RequestMapping_init = "/wj/i/{userid}";//问卷列表页面
		String RequestMapping_getTmlx = "/wj/i";//题目类型列表页面
		String RequestMapping_edit = "/wj/e";//问卷编辑页面

		//请求参数

		//响应uri
		String Forward_init = "wj/list";
		String Forward_listTmlx = "wj/listTmlx";
		String Forward_edit = "wj/edit";
	}
	/**
	 * 宿舍选取
	 */
	interface ROOM {
		//请求uri
		String RequestMapping_init = "/room"; //宿舍选取页面            /{userid}
		String RequestMapping_roomlist = "/room/roomlist"; //宿舍列表页面          /{userid}
		String RequestMapping_save = "/room/save";     //保存宿舍选取结果
		String RequestMapping_delete = "/room/delete"; //退选
		
		//响应uri
		String GxForward_init = "room";
	}
}
